-
Home
-
Mercado Pago payments for WooCommerce
-
8.7.1 (latest)
-
Code
-
Classes
- CurrentUser
| Total Complexity |
11 |
| Dependencies |
3 |
| Dependents |
6 |
| Total lines |
119 |
| Lines of code |
33 |
| Logical lines of code |
14 |
| Comment lines |
59 |
| Methods |
9 |
| Properties |
3 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| userHasRoles() |
S |
77 |
2 |
3 |
| validateUserNeededPermissions() |
S |
68 |
2 |
7 |
| __construct() |
S |
73 |
1 |
5 |
| isUserLoggedIn() |
S |
81 |
1 |
3 |
| getCurrentUser() |
S |
81 |
1 |
3 |
| getCurrentUserRoles() |
S |
81 |
1 |
3 |
| getCurrentUserData() |
S |
80 |
1 |
3 |
| getCurrentUserMeta() |
S |
79 |
1 |
3 |
| currentUserCan() |
S |
80 |
1 |
3 |